declare function
socketSend(json: any, fn: any);
declare function
setReconFn(fn: any);
declare function
serverDispatch(action: any, postData: any, fn: any);
declare function
sleep(s: any);
declare function
addKeyDownEvent(_key: any, fn: any);
class UserDeal {
	private accountData: AccountData;   //用户的账户数据
	private context: Main;
	public constructor(context: Main) {
		this.context = context;
	}
	public init() {
		return new Promise(function (resolve, reject) {
			serverDispatch('Initial', {}, function (data) {
//				console.log("初始化", data);
                 resolve(data);
			});
		});
	}
}